Skip to content

Add exact DB lookup for date-based queries with RAG fallback#23

Open
danrixd wants to merge 4 commits into
mainfrom
codex/integrate-exact-db-lookup-in-ai-system
Open

Add exact DB lookup for date-based queries with RAG fallback#23
danrixd wants to merge 4 commits into
mainfrom
codex/integrate-exact-db-lookup-in-ai-system

Conversation

@danrixd
Copy link
Copy Markdown
Owner

@danrixd danrixd commented Aug 2, 2025

Summary

  • add exact_lookup helper to pull a row for a given tenant/date from SQLite
  • augment ResponseGenerator to detect ISO date queries and return DB results before falling back to RAG
  • cover exact lookup and fallback behaviour with new tests

Testing

  • pytest

https://chatgpt.com/codex/tasks/task_e_688df1f1c280832ab3700a45e2827b6d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant